package com.jewaton.authmanage.pojo;

import java.util.List;

/**
 * 角色表
 * @author magiczeng
 *
 */
public class Role implements java.io.Serializable {

	private static final long serialVersionUID = 5843173818079855908L;
	
	//角色表主键
	private Long id;
	
	//角色名称
	private String roleName;
	
	//角色描述
	private String descr;
	
	//角色状态 1为启用0为禁用 默认1
	private Boolean enabled = true;
	
	//该角色下的资源列表
	private List<Resource> resourceList;
	
	//该角色下的用户列表
	private List<UserInfo> userList;
	
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	
	public String getRoleName() {
		return roleName;
	}
	
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	
	public String getDescr() {
		return descr;
	}
	
	public void setDescr(String descr) {
		this.descr = descr;
	}
	
	
	public Boolean getEnabled() {
		return enabled;
	}
	
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	
	public List<Resource> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<Resource> resourceList) {
		this.resourceList = resourceList;
	}

	
	public List<UserInfo> getUserList() {
		return userList;
	}

	public void setUserList(List<UserInfo> userList) {
		this.userList = userList;
	}
	
	
}
